<nb-card>
    <nb-card-header>
      角色管理
    </nb-card-header>
  
    <nb-card-body>
      <toaster-container [toasterconfig]="config"></toaster-container>
      <div class="row">
        <ng2-smart-table [settings]="settings" [source]="source" (create)="onCreate($event)" (edit)="onEdit($event)" (delete)="onDelete($event)">
        </ng2-smart-table>
      </div>
  
      <swal #deleteSwal title="确认删除该记录?" text="操作不可恢复！" [focusCancel]="true" >
      </swal>
    </nb-card-body>
  </nb-card>